Updated agent description

Maximilian Clarke 11 年 前
コミット
0e30b083b4
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      app/models/agents/website_agent.rb

+ 2 - 0
app/models/agents/website_agent.rb

@@ -16,6 +16,8 @@ module Agents
16 16
 
17 17
       Specify a `url` and select a `mode` for when to create Events based on the scraped data, either `all` or `on_change`.
18 18
 
19
+      `url` can be a single url, or an array of urls (for example, for multiple pages with the exact same structure but different content to scrape)
20
+
19 21
       The `type` value can be `xml`, `html`, or `json`.
20 22
 
21 23
       To tell the Agent how to parse the content, specify `extract` as a hash with keys naming the extractions and values of hashes.